package net.huashitong.Indicators.service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import net.huashitong.Indicators.dao.IndicatorBreakdownDao;
import net.huashitong.Indicators.databean.IndicatorBreakdownDatabean;
import net.huashitong.Indicators.entity.IndicatorBreakdown;
import net.huashitong.Indicators.filter.IndicatorBreakdownFilter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;
@Service
public class IndicatorBreakdownService extends StringPKService<IndicatorBreakdown> {

	@Autowired
	private IndicatorBreakdownDao dao;
	@Override
	protected BaseDao<IndicatorBreakdown, String> getDao() {
		return dao;
	}

	public List<IndicatorBreakdown> queryByCuMonthAndArea(
			String currentMonth, String area) {
		return dao.queryByCuMonthAndArea(currentMonth,area);
	}

	public List<IndicatorBreakdown> queryCountyRank(
			IndicatorBreakdownFilter filter) {
		return dao.queryByCuMonthAndArea(filter);
	}

	public List<IndicatorBreakdown> queryDevelopmentSituation(
			IndicatorBreakdownFilter filter) {
		return dao.queryDevelopmentSituation(filter);
	}

	public List<IndicatorBreakdown> queryAbsoluteValue(
			IndicatorBreakdownFilter filter) {
		return dao.queryAbsoluteValue(filter);
	}

	public List<Map<String,Object>> queryAll(String date, String industryName, String area) {
		
		return dao.queryAll(date,industryName,area);
	}
	public List<IndicatorBreakdown> queryMonthAbsolute(
			IndicatorBreakdownFilter filter) {
		return dao.queryMonthAbsolute(filter);
	}
	public List<IndicatorBreakdown> queryMonthDevelopmentSituation(
			IndicatorBreakdownFilter filter) {
		return dao.queryMonthDevelopmentSituation(filter);
	}

	public List<IndicatorBreakdown> queryShopping(
			IndicatorBreakdownFilter filter) {
		return dao.queryShopping(filter);
	}

	public List<IndicatorBreakdown> queryShoppingInd(
			IndicatorBreakdownFilter filter) {
		return dao.queryShoppingInd(filter);
	}

	public List<String> queryCountyRankArea(IndicatorBreakdownFilter filter) {
		return dao.queryCountyRankArea(filter);
	}

	public IndicatorBreakdown queryMonthValue(IndicatorBreakdownFilter filter) {
		return dao.queryMonthValue(filter);
	}

	public List<IndicatorBreakdown> queryMonthValueSec(
			IndicatorBreakdownFilter filter) {
		return dao.queryMonthValueSec(filter);
	}

	public IndicatorBreakdown queryByDateAndId(
			IndicatorBreakdown indicatorBreakdown) {
		return dao.queryByDateAndId(indicatorBreakdown);
	}

	public List queryAllSec(String date, String industryName, String area) {
		return dao.queryAllSec(date,industryName,area);
	}
	
	
}
